body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #3498db;
    padding-top: 20px;
}

.sidebar h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 10px 0;
    text-align: center;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

.container {
margin-left: 250px;
padding: 20px;
text-align: left;
}

.user-info {
text-align: center;
margin-top: 20px;
color: #fff;
}

h1 {
    text-align: left;
    margin-bottom: 20px;
}

#uploadForm {
    text-align: left;
    margin-bottom: 20px;
    
}

#imagePreview {
    text-align: left;
    margin-bottom: 20px;
    max-width: 400px; /* 设置最大宽度 */
    max-height: 300px; /* 设置最大高度 */
    overflow: hidden; /* 隐藏溢出部分 */
    
}

#imagePreview {
    margin-bottom: 20px;
    text-align: center;
    max-width: 400px; /* 设置最大宽度 */
    max-height: 300px; /* 设置最大高度 */
    overflow: hidden; /* 隐藏溢出部分 */
}


#result {
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
}

input[type="file"] {
    display: none;
}

#chooseImageButton,#upload,#processImageButton{
    text-align: left;
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: block;       
}
